package com.ebeitech.doorapp.http.model;

import com.google.gson.annotations.SerializedName;

/**
 * Created by lori on 2018/1/25.
 */

public class VersionModel {


    /**
     * data : {"1":{"updateDesc":"更新了很多东西：\n1.xxxxx\n2.yyyyy","platform":"1","versionId":"828085d561307cc30161308259c20000","url":"https://w.yikb.cn/ios/landauction/manifest.plist","version":"1.4"},"hasNewVersion":true}
     * code : 0
     * msg : 成功
     */

    private DataBean data;
    private int code;
    private String msg;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        /**
         * 1 : {"updateDesc":"更新了很多东西：\n1.xxxxx\n2.yyyyy","platform":"1","versionId":"828085d561307cc30161308259c20000","url":"https://w.yikb.cn/ios/landauction/manifest.plist","version":"1.4"}
         * hasNewVersion : true
         */

        @SerializedName("1")
        private _$1Bean _$1;
        private boolean hasNewVersion;

        public _$1Bean get_$1() {
            return _$1;
        }

        public void set_$1(_$1Bean _$1) {
            this._$1 = _$1;
        }

        public boolean isHasNewVersion() {
            return hasNewVersion;
        }

        public void setHasNewVersion(boolean hasNewVersion) {
            this.hasNewVersion = hasNewVersion;
        }

        public static class _$1Bean {
            /**
             * updateDesc : 更新了很多东西：
             1.xxxxx
             2.yyyyy
             * platform : 1
             * versionId : 828085d561307cc30161308259c20000
             * url : https://w.yikb.cn/ios/landauction/manifest.plist
             * version : 1.4
             */

            private String updateDesc;
            private String platform;
            private String versionId;
            private String url;
            private String version;

            public String getUpdateDesc() {
                return updateDesc;
            }

            public void setUpdateDesc(String updateDesc) {
                this.updateDesc = updateDesc;
            }

            public String getPlatform() {
                return platform;
            }

            public void setPlatform(String platform) {
                this.platform = platform;
            }

            public String getVersionId() {
                return versionId;
            }

            public void setVersionId(String versionId) {
                this.versionId = versionId;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getVersion() {
                return version;
            }

            public void setVersion(String version) {
                this.version = version;
            }
        }
    }
}
